// KnowledgeClassService.java
package com.example.gymlearning.service;

import com.example.gymlearning.entity.KnowledgeClass;
import com.github.pagehelper.Page;

import java.util.List;

public interface KnowledgeClassService {
    List<KnowledgeClass> getAllClasses();
    KnowledgeClass getClassById(Long id);

    Page<KnowledgeClass> getClassesWithPagination(int page, int size);
}